﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/Admin.Master" AutoEventWireup="true" CodeBehind="OperatorList.aspx.cs" Inherits="HTTT.admin.htoperator.OperatorList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeaderContent" runat="server">
    <title>Danh sách Quản trị mạng</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <div id="toolbar-box">
        <div class="m">
            <div id="toolbar" class="toolbar-list">
                <ul>
                    <li id="toolbar-new" class="button">
                        <asp:LinkButton ID="btnAdd" runat="server" OnClick="btnAdd_Click">
                        <span class="icon-32-new"></span>Thêm </asp:LinkButton></li>
                    <li id="toolbar-edit" class="button">
                        <asp:LinkButton ID="btnEdit" runat="server" OnClick="btnEdit_Click">
                       <span class="icon-32-edit"></span>Sửa </asp:LinkButton></li>
                    <li class="divider"></li>
                    <li id="toolbar-delete" class="button">
                        <asp:LinkButton ID="btnDelete" runat="server" OnClick="btnDelete_Click">
                       <span class="icon-32-delete"></span>Delete </asp:LinkButton></li>
                    <li class="divider"></li>
                </ul>
                <div class="clr">
                </div>
            </div>
            <div class="pagetitle icon-48-menumgr">
                <h2>
                    Danh sách Quản trị mạng</h2>
            </div>
        </div>
    </div>
    <h4 style="color:Red; text-align:center;">
                    <asp:Label ID="lblMsg" runat="server" Text=""></asp:Label></h4>
    <div id="submenu-box">
        <div class="m">
            <ul id="submenu">
                <%--<li><a href="RequestList.aspx" class="active">Chờ đợi</a> </li>
                <li><a href="RequestListApproved.aspx">Đã đồng ý</a></li>
                <li><a href="RequestListDenied.aspx">Bị từ chối</a></li>--%>
            </ul>
            <div class="clr">
            </div>
        </div>
    </div>
    <div id="element-box">
        <div class="m">
            <fieldset id="filter-bar">
                <div class="filter-search fltlft">
                    <label for="filter_search" class="filter-search-lbl">
                        Lọc:</label>
                    <asp:TextBox ID="txtKeyword" runat="server"></asp:TextBox>
                    <asp:Button ID="btnSearch" runat="server" Text="Tìm" OnClick="btnSearch_Click" />
                    <asp:Button ID="btnClear" runat="server" Text="Xóa" OnClick="btnClear_Click"/>
                </div>
                <div class="filter-select fltrt">
                    <select onchange="this.form.submit()" class="inputbox" name="menutype">
                        <option value="aboutjoomla">About Joomla</option>
                        <option value="parks">Australian Parks</option>
                        <option value="fruitshop">Fruit Shop</option>
                        <option value="mainmenu">Main Menu</option>
                        <option selected="selected" value="top">Top</option>
                        <option value="usermenu">User Menu</option>
                    </select>
                </div>
            </fieldset>
            <div class="clr">
            </div>
            <table class="adminlist">
                <thead>
                    <tr>
                        <th width="1%">
                            <input type="checkbox" onclick="Joomla.checkAll(this)" title="Check All" value=""
                                name="checkall-toggle"/>
                        </th>
                        <th width="16%" class="title">
                            <a title="Click to sort by this column" onclick="" href="#">Tổ chức </a>
                        </th>
                        <th class="title">
                            <a title="Click to sort by this column" onclick="" href="#">Họ và tên</a>
                        </th>
                        <th class="title">
                            <a title="Click to sort by this column" onclick="" href="#">Di động </a>
                        </th>
                        <th class="title">
                            <a title="Click to sort by this column" onclick="" href="#">Cố định </a>
                        </th>
                        <th class="title">
                            <a title="Click to sort by this column" onclick="" href="#">Email </a>
                        </th>
                        <th class="title">
                            <a title="Click to sort by this column" onclick="" href="#">Account </a>
                        </th>
                    </tr>
                </thead>
                <tfoot>
                    <tr>
                        <td colspan="6">
                            <div class="container">
                                <div class="pagination">
                                    <div class="limit">
                                        Display #<select onchange="Joomla.submitform();" size="1" class="inputbox" name="limit"
                                            id="limit">
                                            <option value="5">5</option>
                                            <option value="10">10</option>
                                            <option value="15">15</option>
                                            <option selected="selected" value="20">20</option>
                                            <option value="25">25</option>
                                            <option value="30">30</option>
                                            <option value="50">50</option>
                                            <option value="100">100</option>
                                            <option value="0">All</option>
                                        </select>
                                    </div>
                                    <div class="limit">
                                    </div>
                                    <input type="hidden" value="0" name="limitstart"/>
                                </div>
                            </div>
                        </td>
                    </tr>
                </tfoot>
                <tbody>
                    <asp:Repeater ID="rptData" runat="server">
                        <ItemTemplate>
                            <tr class="row<%# Container.ItemIndex%2 %>">
                                <td class="center">
                                    <asp:CheckBox runat="server" ID="chkItem" value='<%#Eval("ID") %>'/>
                                </td>
                                <td>
                                    <a href='EditOperator.aspx?id=<%#Eval("ID") %>'><%#Eval("Organize")%></a>
                                </td>
                                <td> <a href='EditOperator.aspx?id=<%#Eval("ID") %>'><%#Eval("OperatorName")%></a>
                                </td>
                                <td> 
                                     <%#Eval("OperatorMobile")%>
                                </td>
                                <td>
                                   <%#Eval("OperatorPhone")%>
                                </td>
                                <td>
                                   <%#Eval("OperatorEmail")%>
                                </td>
                                <td>
                                   <%#Eval("Account")%>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </tbody>
            </table>
            <div class="clr">
            </div>
        </div>
    </div>

</asp:Content>
